-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java] JSpecify annotations for org.openqa.selenium.interactions
#16462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
be56861 to
f2b7a59
Compare
f2b7a59 to
91a55a5
Compare
User description
🔗 Related Issues
Related #14291
💥 What does this PR do?
JSpecify annotations added to the:
org.openqa.selenium.interactions.CompositeActionorg.openqa.selenium.interactions.Interactionorg.openqa.selenium.interactions.Locatableorg.openqa.selenium.interactions.MoveTargetOutOfBoundsException🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Add JSpecify @NullMarked annotations to interactions package classes
Mark nullable parameters in MoveTargetOutOfBoundsException constructors
Improve null-safety documentation for CompositeAction, Interaction, Locatable
Enable compile-time null-safety checking for interactions API
Diagram Walkthrough
File Walkthrough
CompositeAction.java
Add JSpecify @NullMarked annotation to CompositeActionjava/src/org/openqa/selenium/interactions/CompositeAction.java
@NullMarkedannotation import from org.jspecify.annotations@NullMarkedclass-level annotation to CompositeActionInteraction.java
Add JSpecify @NullMarked annotation to Interactionjava/src/org/openqa/selenium/interactions/Interaction.java
@NullMarkedannotation import from org.jspecify.annotations@NullMarkedclass-level annotation to abstract Interactionclass
Locatable.java
Add JSpecify @NullMarked annotation to Locatable interfacejava/src/org/openqa/selenium/interactions/Locatable.java
@NullMarkedannotation import from org.jspecify.annotations@NullMarkedinterface-level annotation to LocatableMoveTargetOutOfBoundsException.java
Add JSpecify annotations with nullable parameters to exceptionjava/src/org/openqa/selenium/interactions/MoveTargetOutOfBoundsException.java
@NullMarkedand@Nullableannotations@NullMarkedclass-level annotation@Nullableinall three constructors